
abstract public class Vehicule {
	public Vehicule(String s) {
		immatriculation = s;
	}
	
	private String immatriculation;
	static protected float poidsAVide;
	static protected float chargeMax;
	protected float charge;
	
	abstract public float vitesse();
	
	public String toString() {
		return "Immatriculation : "+immatriculation+"\n\tVitesse max. : "+vitesse();
	}
	
	public float conso() {
		return main.conso(vitesse(), charge);
	}
}
